package hn.cch.feature.generic;

import org.junit.jupiter.api.Test;

public class GenericDemo {

    // 泛型方法
    public <T> T method(T t) {
        return t;
    }

    @Test
    public void test01() {
        System.out.println(method("hello-world"));
    }

}
